<%# via_association_type is used in has_one create actions %>
<%= hidden_field_tag :via_association_type, params[:via_association_type] if params[:via_association_type] %>
<%= hidden_field_tag :via_resource_class, params[:via_resource_class] if params[:via_resource_class] %>
<%= hidden_field_tag :via_record_id, params[:via_record_id] if params[:via_record_id] %>
<%= hidden_field_tag :via_relation, params[:via_relation] if params[:via_relation] %>
<%= hidden_field_tag :via_belongs_to_resource_class, params[:via_belongs_to_resource_class] if params[:via_belongs_to_resource_class] %>
<%= hidden_field_tag :return_to, params[:return_to] if params[:return_to].present? %>
<%= hidden_field_tag :referrer, @back_path if params[:via_resource_class] %>
